package com.atguigu.yygh.order.prop;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * @author mgx
 * @version 1.0
 * @description: TODO
 * @date 2022/9/8 17:41
 */
@Component
@ConfigurationProperties(prefix = "weipay")
@PropertySource("classpath:weipay.properties")
@Data
public class WeiPayProperties {
    private String appid;
    private String partner;
    private String partnerKey;
}
